package com.atguigu.facade;

public class Stereo {
    private static Stereo instance;

    static {
        instance = new Stereo();
    }

    public static Stereo getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("stereo on");
    }

    public void off() {
        System.out.println("stereo off");
    }

    public void up() {
        System.out.println("stereo up");
    }
}
